package com.xuelang.pipeline.domain.resource;

import lombok.Data;
import org.eclipse.jgit.lib.Ref;

import java.io.Serializable;
import java.util.List;

/**
 * @author liuyuan.ly
 * @since 2024/6/14 14:41
 */
@Data
public class GitOperation implements Serializable {

    private static final long serialVersionUID = 4492394918637133526L;
    /**
     * 代码仓库
     */
    private String codeRepository;
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 分支名
     */
    private String branchName;
    /**
     * 远程分支
     */
    private Ref ref;
    /**
     * 远程分支信息
     */
    private List<String> remoteList;
    /**
     * 仓库拉取路径
     */
    private String path;
}
